package com.woniuxy.project115.kaer.platform.util;

public class RedisKey {
    //保存短token
    public static String ACCESS_EXPIRE(String accessToken)throws Exception{
        return "access:expire:"+accessToken;
    }
    //保存长token
    public static String ACCESS_REFRESH(String accessToken)throws Exception{
        return "refresh:expire:"+accessToken;
    }
    //保存用户权限列表
    public static String USER_PERMISSION_LIST(Integer userId)throws Exception{
        return "user:permission:list:userid"+userId;
    }
}
